﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace FormTest.ObjectListView
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            List<Data> list = new List<Data>();
            list.Add(new Data() { Id = "1", Name = "XXX" });
            list.Add(new Data() { Id = "2", Name = "yyyy" });
            vlist.SetObjects(list,true);
        }
    }

    public class Data
    {
        public string Id { get; set; }
        public string Name { get; set; }
    }
}
